package day2;

/**
 * @author oldliu
 * @since 1.0
 */
public class Swap {
    public static void main(String[] args) {
        //实现两个变量的交换
        int a=14,b=23;
        System.out.println("a="+a+",b="+b);
        int c;
        c=a;
        a=b;
        b=c;
        System.out.println("交换之后：");
        System.out.println("a="+a+",b="+b);
    }
}
